package com.gxa.mapper;

import com.gxa.pojo.Monthly_Goals;
import com.gxa.pojo.Monthly_Goals_Son;
import com.gxa.pojo.Monthly_Goals_Template;
import com.gxa.pojo.goalPojo.GoalPojo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MonthGoalMapper {
    int editGoal(String Goal_thead1,String Goal_thead2,String Goal_thead3,String Goal_thead4,String Goal_thead5,String Goal_thead6);

    List<Monthly_Goals_Template> findGoal();

    List<GoalPojo> findTitles();

    List<Monthly_Goals_Son> queryTitles(String title);

    int addMonthTitle(String title, String emp_name, Date time);

    List<Monthly_Goals_Template> queryGoal(String goal_thead1, String goal_thead2, String goal_thead3, String goal_thead4, String goal_thead5, String goal_thead6);

    int deleteGoal(String goal_thead1, String goal_thead2, String goal_thead3, String goal_thead4, String goal_thead5, String goal_thead6);

    int addMonthTitleContent(String goal_content1, String goal_content2, String goal_content3, String goal_content4, String goal_content5, String goal_content6);

    List<Monthly_Goals> queryActivity(int param1, int param2);

    List<GoalPojo> queryEditActivity(String title);

    int updateContent( @Param("content1") String goal_content1, @Param("content2") String goal_content2, @Param("content3") String goal_content3, @Param("content4") String goal_content4, @Param("content5") String goal_content5, @Param("content6") String goal_content6, @Param("title") String title);

    List<Monthly_Goals> wordSelect(@Param("keyWord") String word,@Param("currentPage") Integer currentPage, @Param("pageSize")Integer pageSize);

    int deleteActivityGoal(String title);

    int deleteActivityContent(String title);

    List<Monthly_Goals> wordQueryActivity(@Param("currentPage")Integer currentPage,@Param("pageSize") Integer pageSize);

    List<Monthly_Goals> editTitleQuery(String title);

    int updateContentNew(@Param("content1") String goal_content1, @Param("content2") String goal_content2, @Param("content3") String goal_content3, @Param("content4") String goal_content4, @Param("content5") String goal_content5, @Param("content6") String goal_content6);

    void updateActivityGoal(String title, String title1);

    int countQuery();


//    Integer selectCount();
}
